package me.xADudex.RandomLocation;

enum RangeFrom
{
    CUSTOM("CUSTOM", 0), 
    ZONE("ZONE", 1);
    
    private RangeFrom(final String s, final int n) {
    }
    
    static RangeFrom get(final String s) {
        if (s.equalsIgnoreCase("zone")) {
            return RangeFrom.ZONE;
        }
        return RangeFrom.CUSTOM;
    }
    
    String getNormalString() {
        if (this.equals(RangeFrom.CUSTOM)) {
            return "Custom";
        }
        return "Zone";
    }
}
